<!--
 * @Author: your name
 * @Date: 2021-08-13 10:29:48
 * @LastEditTime: 2021-08-15 20:14:09
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day10\02-微信.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/项目/网易考拉案例/fonts/font图标/iconfont.css">
    <style>
        section {
            margin-bottom: 50px;
        }
        
        nav {
            height: 60px;
            width: 100%;
            border-top: 1px solid #777;
            position: fixed;
            bottom: 0;
            display: flex;
            /* space-between:两端在左右两边，中间间隙平均 */
            /* justify-content:center  给主轴居中使用 */
            /* 间隙平均 */
            justify-content: space-around;
            /* align-center:给交叉轴居中使用 */
            align-items: center;
        }
        /* 子元素 */
        
        nav>div {
            display: flex;
            flex-direction: column;
            /* align-center:给交叉轴居中使用 */
            align-items: center;
        }
        
        .icon-youjian {
            font-size: 1px;
        }
    </style>
</head>

<body>
    <header>微信 +</header>
    <section>
        <div style="height:800px;"></div>
    </section>
    <nav>
        <div><i class="iconfont icon-weixin "></i>微信</div>
        <div><i class="iconfont icon-qian "></i>通讯录</div>
        <div><i class="iconfont icon-zhinanzhendaohang "></i>发现</div>
        <div><i class="iconfont icon-youjian "></i>我</div>
    </nav>
</body>

</html>